package com.collect.tanzania.zhiScene.zhiCollection.zhiBigGroup.zhiPerformance;

import android.content.Context;

import com.collect.tanzania.zhiBase.BaseContract;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRGroupBonusEntity;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRGroupPerformanceMoneyEntity;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRGroupUserEntity;
import com.collect.tanzania.zhiBean.zhiReceive.ZHIRGroupUserPerformanceMergeEntity;
import com.collect.tanzania.zhiBean.zhiSend.ZHISPerfermanceEntity;
import com.collect.tanzania.zhiBean.zhiSend.ZHISendEntity;

import java.util.ArrayList;

public class ZHIPerformanceBigGroupContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();

        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupUserPerformanceOrderMerge(ArrayList<ZHIRGroupUserPerformanceMergeEntity> zhirGroupUserPerformanceMergeEntityArrayList, ZHISPerfermanceEntity zhisPerfermanceEntity);

        /**
         * 获取案件列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupUserPerformanceMoneyMerge(ArrayList<ZHIRGroupPerformanceMoneyEntity> zhirGroupPerformanceMoneyEntityArrayList, ZHISPerfermanceEntity zhisPerfermanceEntity);

        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupUsers(ArrayList<ZHIRGroupUserEntity> zhirGroupUserEntityArrayList);

        /**
         * 获取绩效返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupBonus(ZHIRGroupBonusEntity zhirGroupBonusEntity, ZHISPerfermanceEntity zhisPerfermanceEntity);

        /**
         * 获取名下组长列表返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetBigGroupUsers(boolean isFirstLoad, ArrayList<ZHIRGroupUserEntity> bigGroupUserList);
    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupUserPerformanceOrderMerge(Context context, ZHISPerfermanceEntity zhisPerfermanceEntity, boolean showDialog);

        /**
         * 获取案件列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupUserPerformanceMoneyMerge(Context context, ZHISPerfermanceEntity zhisPerfermanceEntity, boolean showDialog);

        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupUsers(Context context, ZHISendEntity zhiSendEntity);

        /**
         * 获取绩效
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupBonus(Context context, ZHISPerfermanceEntity zhisPerfermanceEntity);

        /**
         * 获取名下组长列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getBigGroupUsers(Context context, boolean isFirstLoad, ZHISendEntity zhiSendEntity);
    }
}
